package com.example.model;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Schema(name = "部门", description = "部门信息")
public class Department {

    @Schema(name = "部门ID")
    private Long id;

    @Schema(name = "部门名称")
    private String name;

    @Schema(name = "部门所在地")
    private String location;

}

